//
//  CommoditiesController.h
//  MBObjectServer
//
//  Created by Juvid on 14-4-2.
//  Copyright (c) 2014年 MBpayer. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "MBBaseServer.h"
#import "DicRequest.h"
#import "EPOSIndentListModelResult.h"
#import "EPOSIndentListModel.h"

@interface CommoditiesController : NSObject
{
    MBBaseServer  *baseserver;
    
}
-(void)CancleRequest;
//SKU扫描查询
-(void)ScanBarCodeIntoBillEntity:(NSString *)BarCode
                             Qty:(NSString *)Qty
                     ContainerID:(NSString *)ContainerID
                    IsJudgePrice:(NSString *)IsJudgePrice
                        StartNum:(int)startNum
                          EndNum:(int)endNum
                         Success:(ReceiveSuccess)processSuccess
                         Failure:(ReceiveFailure)processFailure;
//库存查询
-(void)GetStockJson:(NSString *)ProdID
            Success:(ReceiveSuccess)processSuccess
            Failure:(ReceiveFailure)processFailure;
//交易查询
-(void)RetrieveBillSaleHeads:(NSString *)saleNo
                    StartNum:(int)startNum
                      EndNum:(int)endNum
                     Success:(ReceiveSuccess)processSuccess
                     Failure:(ReceiveFailure)processFailure;
//获取小票详情
-(void)RetrieveBillSale:(NSString *)saleID
                  IsPay:(BOOL)isPay
                Success:(ReceiveSuccess)processSuccess
                Failure:(ReceiveFailure)processFailure;
@end
